package es.xpt.ysf.commons.report.model;

import java.io.InputStream;
import java.util.Collection;
import java.util.Date;
import java.util.ResourceBundle;
import ar.com.fdvs.dj.domain.constants.Page;

import net.sf.jasperreports.engine.design.JRDesignImage;
import net.sf.jasperreports.engine.design.JRDesignStaticText;

public class ReportBean {

	private JRDesignStaticText title;
	private JRDesignImage logo;
	private InputStream headerImage;
	private Page page;
	private Collection<ReportTable> tables;
	private Date initDateSearch;
	private Date finalDateSearch;
	private Date initIntoDate;
	private Date finalIntoDate;
	private ResourceBundle resource;

	public ReportBean() {
		super();
	}

	public JRDesignStaticText getTitle() {
		return title;
	}

	public void setTitle(JRDesignStaticText title) {
		this.title = title;
	}

	public JRDesignImage getLogo() {
		return logo;
	}

	public void setLogo(JRDesignImage logo) {
		this.logo = logo;
	}

	public Collection<ReportTable> getTables() {
		return tables;
	}

	public void setTables(Collection<ReportTable> tables) {
		this.tables = tables;
	}

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}

	public void setInitDateSearch(Date initDateSearch) {
		this.initDateSearch = initDateSearch;
	}

	public Date getInitDateSearch() {
		return initDateSearch;
	}

	public void setFinalDateSearch(Date finalDateSearch) {
		this.finalDateSearch = finalDateSearch;
	}

	public Date getFinalDateSearch() {
		return finalDateSearch;
	}

	public void setResource(ResourceBundle resource) {
		this.resource = resource;
	}

	public ResourceBundle getResource() {
		return resource;
	}

	public void setFinalIntoDate(Date finalIntoDate) {
		this.finalIntoDate = finalIntoDate;
	}

	public Date getFinalIntoDate() {
		return finalIntoDate;
	}

	public void setInitIntoDate(Date initIntoDate) {
		this.initIntoDate = initIntoDate;
	}

	public Date getInitIntoDate() {
		return initIntoDate;
	}

	/**
	 * @return the headerImage
	 */
	public InputStream getHeaderImage() {
		return headerImage;
	}

	/**
	 * @param headerImage the headerImage to set
	 */
	public void setHeaderImage(InputStream headerImage) {
		this.headerImage = headerImage;
	}
}
